package com.taoyibao.hongcanting.constant;

/**
 * @author TangAnna
 * @description: 接口方法地址
 * @date :${DATA} 11:27
 */
public class ApiRoute {

    /**
     * 餐厅加载的webView地址
     */
    public static final String RESTAURANT_WEB_PATH = "http://web.hongcanting.com/ctMap.html";

    /**
     * 关于我们
     */
    public static final String ABOUT_WEB_PATH = "http://web.hongcanting.com/aboutUs.html";

    /**
     * 服务条款
     */
    public static final String LOGIN_WEB_PATH = "http://web.hongcanting.com/service.html";
    /**
     * 排行榜
     */
    public static final String LEADER_BOARD_WEB_PATH = "http://web.hongcanting.com/Ranking.html";
    /**
     * 排行榜二级页面
     */
    public static final String LEADER_BOARD_SECONDARY_WEB_PATH = "http://web.hongcanting.com/RankList.html";
    /**
     * 宴会预定
     */
    public static final String BANQUET_WEB_PATH = "http://web.hongcanting.com/book.html";


    /**
     * 三方的接口地址
     */
    public static class SanFang {


        /**
         * 用户有关
         */
        public static class Member {
            private static final String BASE_VERSION_MEMBER = "services/member/1.0/";
            /**
             * 登录
             */
            public static final String LOGIN = BASE_VERSION_MEMBER + "Login/";

        }

        /**
         * 订单
         */
        public static class Order {
            public static final String BASE_VERSION_ORDER = "services/order/1.0/";
            /**
             * 提交订单
             */
            public static final String SUBMIT_ORDER = BASE_VERSION_ORDER + "SumbitOrder/";
            /**
             * 订单列表
             */
            public static final String GET_ORDER = BASE_VERSION_ORDER + "GetOrder/";

            /**
             * 已完成的订单详情
             */
            public static final String GET_ORDER_INFO = BASE_VERSION_ORDER + "GetInfo/";
            /**
             * 获取外带订单明细
             */
            public static final String GET_ORDER_INFO_ONLINE = BASE_VERSION_ORDER + "GetInfoOnline/";

            /**
             * 获取堂食订单信息
             */
            public static final String GET_EDSK_ORDER_INFO = BASE_VERSION_ORDER + "GetDeskOrderInfo/";
            /**
             * 加菜
             */
            public static final String ADD_DISH = BASE_VERSION_ORDER + "AddDish/";
            /**
             * 获取桌号
             */
//            public static final String GET_DESK_QR = BASE_VERSION_ORDER + "GetDeskQr/";
            public static final String GET_DESK_QR_NEW = BASE_VERSION_ORDER + "GetDeskQrNew/";
        }

    }

    /**
     * 公司的接口地址
     */
    public static class Company {
        /**
         * 登录
         */
        public static final String LOGIN = "login";
        /**
         * 退出登录
         */
        public static final String LOGOUT = "logout";
        /**
         * 发送验证码
         */
        public static final String SEND_CODE = "send_code";

        /**
         * 验证验证码
         */
        public static final String CHECK_CODE = "check_code";

        /**
         * 推荐菜品
         */
        public static final String FOOD_RECOMMEND = "food/recommend";

        /**
         * 点餐列表的分类
         */
        public static final String FOOD_Lists = "food/lists";

        /**
         * 获取菜品的口味做法
         */
        public static final String FOOD_SUPPLEMENT = "food/supplement";

        /**
         * banner
         */
        public static final String BANNERS = "banners";

        /**
         * 添加购物车
         */
        public static final String CART_ADD = "cart/add";
        /**
         * 减少购物车数据
         */
        public static final String CART_REMOVE = "cart/remove";
        /**
         * 获取购物车数据
         */
        public static final String CART_INFO = "cart/info";
        /**
         * 购物车简单数据
         */
        public static final String CART_SIMPLE_INFO = "cart/simple_info";

        /**
         * 清空购物车
         */
        public static final String CART_CLEAR = "cart/clear";

        /**
         * 获取用户余额
         */
        public static final String USER_BALANCE = "user/balance";


        /**
         * 订单列表
         */
        public static final String USER_ORDERS = "user/orders";

        /**
         * 设置，修改，忘记支付密码
         */
        public static final String USER_PAY_PWD = "user/pay_pwd";

        /**
         * 用户信息
         */
        public static final String USER_INFO = "user/info";
        /**
         * 用户修改头像
         */
        public static final String USER_AVATAR = "user/avatar";

        /**
         * 修改用户昵称
         */
        public static final String USER_NICKNAME = "user/nickname";
        /**
         * 修改用户性别
         */
        public static final String USER_GENDER = "/user/gender";
        /**
         * 修改用户生日
         */
        public static final String USER_BIRTHDATE = "/user/birth_date";
        /**
         * 提交用户实名认证信息
         */
        public static final String USER_VERIFY = "user/verify";

        /**
         * 提现
         */
        public static final String USER_WITHDRAW = "user/withdraw";
        /**
         * 充值
         */
        public static final String USER_RECHARGE = "/user/recharge";
        /**
         * 钱包明细
         */
        public static final String USER_WALLET = "/user/wallet";
        /**
         * 用户首次登录的时候的设置个人资料
         */
        public static final String USER_ADD_INFO = "/user/add_info";
        /**
         * 钱包支付
         */
        public static final String WALLET_PAY = "pay";
        /**
         * aliPay支付回调
         */
        public static final String ALIPAY_RETURN = "ali_return";
        /**
         * 用户桌位状态
         */
        public static final String TABLE_STATUS = "table_status";
        /**
         * 餐厅地图礼物数据
         */
        public static final String GIFT_LISTS = "/gift/lists";
        /**
         * 餐厅地图送礼物
         */
        public static final String GIFT_ORDER = "/gift/order";
        /**
         * 服务端的任务列表数据
         */
        public static final String GIFT_ORDER_LISTS = "/gift/order_lists";
        /**
         * 服务端 更新任务的状态
         */
        public static final String GIFT_HANDLE_ORDER = "/gift/handle_order";

        /**
         * 版本更新
         */
        public static final String APP_LEVEL = "/app/level";

        /**
         * 判断订单的就餐方式
         */
        public static final String USER_ORDER_EAT_TYPE = "/user_order_eat_type";


    }


}
